home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 8: LINUX Games
/
Linux Cubed Series 8 - LINUX Games.iso
/
games
/
video
/
fly8111-.000
/
fly8111-
/
fly8
/
MSDOS
/
makec8.sha
< prev
next >
Wrap
Text File
|
1979-12-31
|
1KB
|
68 lines
# makefile
#
# This is part of the flight simulator 'fly8'.
# Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
#
#
# makefile for shapes, ms vc1 (c8)
#
CPP= $(CC)
CFLAGS= -I.. -f -E
AWK= awk
DEL= del
COPY= copy
REN= ren
SHAPES= runway.vxx m61.vxx mk82.vxx gtarget.vxx target.vxx viewer.vxx \
classic.vxx crater.vxx house.vxx smoke.vxx tower.vxx broken.vxx \
box.vxx chute.vxx wf15.vxx wf16.vxx wf18.vxx
ACM= runway.avx tower.avx f16.avx
ACMF= f16.fvx
.SUFFIXES: .vx .vxx .acm .avx .fvx
.vx.vxx:
$(COPY) $*.vx $*.c
$(CPP) $(CFLAGS) $*.c >$*.i
$(DEL) $*.c
$(AWK) -f f8shape.awk $*
$(DEL) $*.i
$(DEL) $*.003
.acm.avx:
$(AWK) -f acm2avx.awk $*
$(CPP) $(CFLAGS) $*.c >avx.i
$(DEL) $*.c
$(AWK) -f f8shape.awk avx
$(DEL) avx.i
$(DEL) avx.003
-$(DEL) $*.avx
$(REN) avx.vxx $*.avx
.acm.fvx:
$(AWK) -f acm2fvx.awk $*
$(CPP) $(CFLAGS) $*.c >fvx.i
$(DEL) $*.c
$(AWK) -f f8shape.awk fvx
$(DEL) fvx.i
$(DEL) fvx.003
-$(DEL) $*.fvx
$(REN) fvx.vxx $*.fvx
all: shapes
shapes: $(SHAPES) $(ACM) $(ACMF)
clean:
-$(DEL) *.vxx
-$(DEL) *.fvx
-$(DEL) *.avx
-$(DEL) *.c
-$(DEL) *.i
-$(DEL) *.00?